
#ifndef CONTACTSOLVER_H_
#define CONTACTSOLVER_H_

#include "Core.h"
#include "Aabb2.h"
#include "Contact.h"
#include "Entity.h"
#include "Material.h"

namespace p2 {

class ContactSolver
{
public:
	inline ContactSolver(World* owner);
	virtual ~ContactSolver();

	void solve(real64 dT, Contact::List& contacts, uint32 numIterations);
    
private:
	World* _owner;
};

inline ContactSolver::ContactSolver(World* owner)
:	_owner(owner)
{
}

}

#endif	//CONTACTSOLVER_H_
